package com.example.androidpattern.observer.classes;

import java.util.Observable;

/**
 * @ClassName: SystemSubject2D$
 * @Description: 主题2D
 * @Author: xinya
 * @CreateDate: 2020/11/10$ 15:42$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class SystemSubject2D extends Observable {

    public void setMsg(String msg) {
        setChanged();
        notifyObservers(msg);
    }
}
